package com.yuw.ProducerAndConsumer;

public class Product {
	// 属性
	private String productName;

	public Product(String productName) {
		super();
		this.productName = productName;
	}
	// 行为

	@Override
	public String toString() {
		return "Product [productName=" + productName + "]";
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

}
